package com.hz.monitoring.module.hardware.convert.warning_contact;

import java.util.*;

import com.hz.monitoring.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.hz.monitoring.module.hardware.controller.admin.warning_contact.vo.*;
import com.hz.monitoring.module.hardware.dal.dataobject.warning_contact.WarningContactDO;

/**
 * 预警通讯方式管理 Convert
 *
 * @author 芋道源码
 */
@Mapper
public interface WarningContactConvert {

    WarningContactConvert INSTANCE = Mappers.getMapper(WarningContactConvert.class);

    WarningContactDO convert(WarningContactCreateReqVO bean);

    WarningContactDO convert(WarningContactUpdateReqVO bean);

    WarningContactRespVO convert(WarningContactDO bean);

    List<WarningContactRespVO> convertList(List<WarningContactDO> list);

    PageResult<WarningContactRespVO> convertPage(PageResult<WarningContactDO> page);

    List<WarningContactExcelVO> convertList02(List<WarningContactDO> list);

}
